home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / dynamenu / dmview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.7 KB  |  60 lines

  1. // dmview.h
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13. // Purpose: interface of the CDynaMenuView class
  14. //
  15. // Functions:
  16. //   Most of this file was generated by AppWizard.  The functions
  17. //   which contain code specific to this sample are:
  18. //
  19. //      CDynaMenuView::OnDraw()             -- draw the view contents
  20. //
  21. //   These functions are implemented in dmview.cpp
  22.  
  23. class CDynaMenuView : public CView
  24. {
  25. protected: // create from serialization only
  26.     CDynaMenuView();
  27.     DECLARE_DYNCREATE(CDynaMenuView)
  28.  
  29. // Attributes
  30. public:
  31.     CDynaMenuDoc* GetDocument();
  32.  
  33. // Operations
  34. public:
  35.  
  36. // Implementation
  37. public:
  38.     virtual ~CDynaMenuView();
  39.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CDynaMenuView)
  48.         // NOTE - the ClassWizard will add and remove member functions here.
  49.         //    DO NOT EDIT what you see in these blocks of generated code !
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. #ifndef _DEBUG  // debug version in dmview.cpp
  55. inline CDynaMenuDoc* CDynaMenuView::GetDocument()
  56.    { return (CDynaMenuDoc*)m_pDocument; }
  57. #endif
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.